﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestForm.aspx.cs" Inherits="DistinctCaptchaTest.TestForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Image ID="imgCaptcha" runat="server" />
        <asp:Button ID="btnRefresh" runat="server" Text="Refresh" OnClick="btnRefresh_Click" />
        <br />
        <asp:TextBox ID="txtUserInput" runat="server"></asp:TextBox>
        <br />
        <asp:CustomValidator ID="vldCaptcha" runat="server" ErrorMessage="Incorrect letters, try again"
            OnServerValidate="vldCaptcha_ServerValidate" ValidationGroup="submit"></asp:CustomValidator>
        <br />
        <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click"
            ValidationGroup="submit" />
    </div>
    </form>
</body>
</html>
